package Day3Zuoye;

import java.text.SimpleDateFormat;
import java.util.Calendar;

public class Test3 {
    public static void main(String[] args) {
        Calendar calendar=Calendar.getInstance();
        calendar.set(2021,10,1);
        SimpleDateFormat s=new SimpleDateFormat("E");
        String i=s.format(calendar.getTime());
        System.out.println("今年国庆节是:"+i);
    }
}
